<div class="bjui-pageHeader">
    <form id="pagerForm" data-toggle="ajaxsearch"
          action="${request.getContextPath()}/monitoring/monitoring" method="post">
        <div class="bjui-searchBar">
            <g:hiddenField name="SYS_QUERY_NAME" value="monitoringList"/>
            <g:hiddenField name="EXPORT_CONTENT_NAME" value="monitoringExcel"/>

            <label>数据开始时间：</label>
            <input type="text" name="batchStart" value="${batchStart}" data-toggle="datepicker" placeholder="FROM">
            <input type="text" name="batchEnd" value="${batchEnd}" data-toggle="datepicker" placeholder="TO">

            <label>数据结束时间：</label>
            <input type="text" name="lastBatchStart" value="${lastBatchStart}" data-toggle="datepicker"
                   placeholder="FROM">
            <input type="text" name="lastBatchEnd" value="${lastBatchEnd}" data-toggle="datepicker" placeholder="TO">
            <br>
            <label>同步开始执行时间：</label>
            <input type="text" name="runStart" value="${runStart}" data-toggle="datepicker" placeholder="FROM">
            <input type="text" name="runEnd" value="${runEnd}" data-toggle="datepicker" placeholder="TO">&nbsp;

            <label>同步结束执行时间：</label>
            <input type="text" name="procedureStart" value="${procedureStart}" data-toggle="datepicker"
                   placeholder="FROM">
            <input type="text" name="procedureEnd" value="${procedureEnd}" data-toggle="datepicker" placeholder="TO">
            <br>
            <label>存储组名：</label>
            <g:select name="team" from="${procedureTeam}" data-toggle="selectpicker" data-live-search="true"
                      optionKey="Category" optionValue="Category" value="${team}" data-width="263"
                      noSelection="['': '===请选择===']"/>
            <label class="row-label">存储名称：<strong><span class="text-danger">*</span></strong></label>
            <g:select name="procedure" from="${procedure_IdList}" data-toggle="selectpicker" data-live-search="true"
                      optionKey="Procedure_Id" optionValue="Procedure_Id" value="${procedure}" data-width="263"
                      noSelection="['': '===请选择===']"/>&nbsp;
            <button type="submit" class="btn-default" data-icon="search">查询</button>&nbsp;
            <a type="button" class="btn btn-green"
               href="${request.getContextPath()}/monitoring/monitoring?export=xls"
               data-toggle="doexport" data-confirm-msg="确定要导出吗？" data-icon="sign-out">导出</a>
        </div>
    </form>
</div>


<div class="bjui-pageContent tableContent">
    <g:if test="${monitoringList.size() > 0}">
        <g:render template="monitoringExcel"></g:render>
    </g:if>
</div>
<g:render template="../template/pagination"/>